|<template>
  <div class="Sign_wrap">
    <div class="Sign">
      <van-icon name="arrow-left" class="Sign_van" @click="onClickLeft" />
      <p class="Sign_center">您的可用积分为</p>
      <p class="Sign_bottom">0</p>
      <p class="Sign_Bottom_one"></p>
    </div>
    <div class="Sign_bottom_box">
      <p class="Sign_In">签到</p>
      <ul class="Sign_shopping">
        <li>
          <!-- <img src="../../assets/imgs/2.jpg" /> -->
        </li>
        <li>
          <p class="Sign_one">消费购物</p>
          <p class="Sign_one">购物完成，确认收货后立返积分</p>
        </li>
        <li>
          <p class="Sign_two">去购物</p>
        </li>
      </ul>
      <ul class="Sign_shoppings">
        <li>
          <!-- <img src="../../assets/imgs/1.jpg" /> -->
        </li>
        <li>
          <p class="Sign_one">积分兑换</p>
          <p class="Sign_one">积分兑好礼，20积分即可兑换礼券</p>
        </li>
        <li>
          <p class="Sign_two">去兑换</p>
        </li>
      </ul>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="scss" scoped>
p {
  margin: 0 0;
}
.Sign_wrap {
  background: white;
  width: 100%;
  height: 92.5%;
  box-sizing: border-box;
  .Sign {
    width: 100%;
    height: 42vh;
    background: -webkit-gradient(
      linear,
      left top,
      right top,
      from(#f1ead8),
      to(#fefbf2)
    );
    .Sign_van {
      float: left;
      margin: 3vw;
    }
    .Sign_center {
      text-align: center;
      line-height: 20vh;
      color: #6d6d6d;
    }
    .Sign_bottom {
      text-align: center;
      font-weight: 700;
      color: #b3a078;
      margin-bottom: 17vw;
    }
    .Sign_Bottom_one {
      width: 100%;
      height: 10vh;
      background: #e8e1cf;
    }
  }
  .Sign_bottom_box {
    width: 100%;
    height: 48vh;
    overflow: hidden;
  }
  .Sign_In {
    width: 45vw;
    height: 5.5vh;
    border-radius: 4vw;
    background: #b3a078;
    text-align: center;
    color: white;
    line-height: 5.5vh;
    margin: 10vw 26vw;
  }
  .Sign_shopping {
    width: 90%;
    height: 11vh;
    background: #f4ebe2;
    margin: 1.8vw auto;
    display: flex;
    li {
      flex: 1;
      &:nth-child(2) {
        flex: 2;
      }
      img {
        width: 100%;
        height: 100%;
      }
      .Sign_one {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-top: 5vw;
        color: #e1b68c;
        font-size: 2vw;
      }
      .Sign_two {
        width: 15vw;
        height: 5vw;
        line-height: 5vw;
        background: #e1b68c;
        color: white;
        text-align: center;
        border-radius: 2vw;
        margin: 8vw 1vw;
        font-size: 2vw;
      }
    }
  }
  .Sign_shoppings {
    width: 90%;
    height: 11vh;
    background: #ede6d6;
    margin: 1.5rem auto;
    display: flex;
    li {
      //   border: 1px solid red;
      flex: 1;
      &:nth-child(2) {
        flex: 2;
      }
      img {
        width: 100%;
        height: 100%;
      }
      .Sign_one {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-top: 5vw;
        color: #e1b68c;
        font-size: 2vw;
      }
      .Sign_two {
        width: 15vw;
        height: 5vw;
        line-height: 5vw;
        background: #e1b68c;
        color: white;
        text-align: center;
        border-radius: 2vw;
        margin: 8vw 1vw;
        font-size: 2vw;
      }
    }
  }
}
</style>
